package com.erp.erp_entitys.CustomerComplaint;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;

/**
 * 客诉记录-附件
 * 
 */
@ApiModel(value = "客诉记录-附件实体类")
public class CustomerComplaintFileEntity implements Serializable {
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 文件名称
     */
    @ApiModelProperty(value = "文件名称")
    private String fileName;
    /**
     * 文件路径
     */
    @ApiModelProperty(value = "文件路径")
    private String fileUrl;

    /**
     * 文件类型
     */
    @ApiModelProperty(value = "文件类型")
    private String fileType;

    /**
     * 文件大小（KB）
     */
    @ApiModelProperty(value = "文件大小（KB）")
    private String fileSize;

    /**
     * 操作员
     */
    @ApiModelProperty(value = "操作员")
    private String fileExecutor;

    /**
     * 上传时间
     */
    @ApiModelProperty(value = "上传时间")
    private Date fileUploadTime;

    /**
     * 客诉记录外键
     */
    @ApiModelProperty(value = "客诉记录外键")
    private Integer customerComplaintId;
    /**
     * 上传文件原名称
     */
    private String wjName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getFileSize() {
        return fileSize;
    }

    public void setFileSize(String fileSize) {
        this.fileSize = fileSize;
    }

    public String getFileExecutor() {
        return fileExecutor;
    }

    public void setFileExecutor(String fileExecutor) {
        this.fileExecutor = fileExecutor;
    }

    public Date getFileUploadTime() {
        return fileUploadTime;
    }

    public void setFileUploadTime(Date fileUploadTime) {
        this.fileUploadTime = fileUploadTime;
    }

    public Integer getCustomerComplaintId() {
        return customerComplaintId;
    }

    public void setCustomerComplaintId(Integer customerComplaintId) {
        this.customerComplaintId = customerComplaintId;
    }

    public String getWjName() {
        return wjName;
    }

    public void setWjName(String wjName) {
        this.wjName = wjName;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append(" \"id\":").append(id);
        sb.append(", \"fileName\":\"").append(fileName).append('\"');
        sb.append(", \"fileUrl\":\"").append(fileUrl).append('\"');
        sb.append(", \"fileType\":\"").append(fileType).append('\"');
        sb.append(", \"fileSize\":\"").append(fileSize).append('\"');
        sb.append(", \"fileExecutor\":\"").append(fileExecutor).append('\"');
        sb.append(", \"fileUploadTime\":\"").append(fileUploadTime).append('\"');
        sb.append(", \"customerComplaintId\":").append(customerComplaintId);
        sb.append('}');
        return sb.toString();
    }
}